package org.jivesoftware.smackx.bookmark;

public class BookmarkedURL
  implements SharedBookmark
{
  private final String URL;
  private boolean isRss;
  private boolean isShared;
  private String name;

  protected BookmarkedURL(String paramString)
  {
    this.URL = paramString;
  }

  protected BookmarkedURL(String paramString1, String paramString2, boolean paramBoolean)
  {
    this.URL = paramString1;
    this.name = paramString2;
    this.isRss = paramBoolean;
  }

  public boolean equals(Object paramObject)
  {
    boolean bool;
    if (!(paramObject instanceof BookmarkedURL))
      bool = false;
    while (true)
    {
      return bool;
      bool = ((BookmarkedURL)paramObject).getURL().equalsIgnoreCase(this.URL);
    }
  }

  public String getName()
  {
    return this.name;
  }

  public String getURL()
  {
    return this.URL;
  }

  public boolean isRss()
  {
    return this.isRss;
  }

  public boolean isShared()
  {
    return this.isShared;
  }

  protected void setName(String paramString)
  {
    this.name = paramString;
  }

  protected void setRss(boolean paramBoolean)
  {
    this.isRss = paramBoolean;
  }

  protected void setShared(boolean paramBoolean)
  {
    this.isShared = paramBoolean;
  }
}